package com.alan.netty.rpc.v1;

/**
 * @author weiBin
 * @date 2018/11/30
 */
public class CalculatorServiceImpl implements CalculatorService {
    @Override
    public double add(double op1, double op2) {
        return op1 + op2;
    }

    @Override
    public double substract(double op1, double op2) {
        return op1 - op2;
    }

    @Override
    public double multiply(double op1, double op2) {
        return op1 * op2;
    }
}
